CC = g++
CFLAGS = -O3 -Wall

main.o: main.cpp tree_2_4.cpp node.cpp inner_node.cpp leaf.cpp lessonlist.cpp tree_2_4.h
	$(CC) $(CFLAGS) -o exe  main.cpp tree_2_4.cpp node.cpp inner_node.cpp leaf.cpp lessonlist.cpp
tree_2_4.o: tree_2_4.cpp tree_2_4.h
	$(CC) $(CFLAGS) tree_2_4.cpp
node.o: node.cpp tree_2_4.h
	$(CC) $(CFLAGS) node.cpp
inner_node.o: inner_node.cpp tree_2_4.h
	$(CC) $(CFLAGS) inner_node.cpp
leaf.o: leaf.cpp tree_2_4.h
	$(CC) $(CFLAGS) leaf.cpp
lessonlist.o: lessonlist.cpp tree_2_4.h
	$(CC) $(CFLAGS) lessonlist.cpp
